package cn.zl.ymcc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zl
 * @since 2025-10-18
 */
    @Getter
    @Setter
    @ToString
    @Accessors(chain = true)
    @TableName("t_account_flow")
        public class AccountFlow implements Serializable {

        private static final long serialVersionUID = 1L;
    
                        @TableId(value = "id", type = IdType.AUTO)
                private Long id;

            /**
             * 流水金额
             */
        @TableField("amount")
    private Long amount;

            /**
             * 账户ID
             */
        @TableField("account_id")
    private Long accountId;

            /**
             * 流水描述
             */
        @TableField("remark")
    private String remark;

        @TableField("create_time")
    private LocalDateTime createTime;

            /**
             * 流水类型：充值，提现，购买课程
             */
        @TableField("business_type")
    private Byte businessType;

        @TableField("business_name")
    private String businessName;
    }